package com.littleu.yojoincn.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.littleu.yojoincn.model.ItemSkuDO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ItemSkuMapper extends BaseMapper<ItemSkuDO> {
    List<ItemSkuDO> selectItemSkuList(@Param("itemId") Long itemId);

    void hardDeleteSkuByItemId(@Param("itemId") Long itemId);

    List<ItemSkuDO> selectItemSkuWithoutPage(@Param("itemName") String itemName);
}
